package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 积分管理对象 points_management
 *
 * @author ruoyi
 * @date 2024-04-22
 */
public class PointsManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    @Excel(name = "id主键")
    private Long id;

    /** 积分规则id */
    @Excel(name = "积分规则id")
    private Long pointsRuleId;

    /** 人工规则id */
    @Excel(name = "人工规则id")
    private Long pointsRuleArtificialId;

    /** 系统规则id */
    @Excel(name = "系统规则id")
    private Long pointsRuleSystemId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 加分/扣分 0:加分 1:扣分  */
    @Excel(name = "加分/扣分 0:加分 1:扣分 ")
    private String modified;

    /** 执行分数 */
    @Excel(name = "执行分数")
    private String executeScore;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String fileUrl;

    /** 审核状态 0:审核中 1:通过 2:不通过 */
    @Excel(name = "审核状态 0:审核中 1:通过 2:不通过")
    private String status;

    /** 删除标志（0删除 1存在） */
    @Excel(name = "删除标志", readConverterExp = "0=删除,1=存在")
    private String delFlag;

    /** 创建者名字 */
    @Excel(name = "创建者名字")
    private String createName;

    /** 积分类别 */
    @Excel(name = "积分类别")
    private String pointsType;

    /** 积分项目 */
    @Excel(name = "积分项目")
    private String pointsProject;

    /** 积分标准 */
    @Excel(name = "积分标准")
    private String pointsStandard;

    /** 规则分类 0:人工规则  1:系统规则 */
    private String ruleCategory;

    /**
     *  分页页数
     */
    private Integer pageNum;

    /**
     *  分页条数
     */
    private Integer pageSize;

    private List<String> fileUrlList;

    private String queryYear;

    private String queryMonth;

    private String startTime;

    private String endTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPointsRuleId(Long pointsRuleId)
    {
        this.pointsRuleId = pointsRuleId;
    }

    public Long getPointsRuleId()
    {
        return pointsRuleId;
    }
    public void setPointsRuleArtificialId(Long pointsRuleArtificialId)
    {
        this.pointsRuleArtificialId = pointsRuleArtificialId;
    }

    public Long getPointsRuleArtificialId()
    {
        return pointsRuleArtificialId;
    }
    public void setPointsRuleSystemId(Long pointsRuleSystemId)
    {
        this.pointsRuleSystemId = pointsRuleSystemId;
    }

    public Long getPointsRuleSystemId()
    {
        return pointsRuleSystemId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setModified(String modified)
    {
        this.modified = modified;
    }

    public String getModified()
    {
        return modified;
    }
    public void setExecuteScore(String executeScore)
    {
        this.executeScore = executeScore;
    }

    public String getExecuteScore()
    {
        return executeScore;
    }
    public void setFileUrl(String fileUrl)
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl()
    {
        return fileUrl;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getPointsType() {
        return pointsType;
    }

    public void setPointsType(String pointsType) {
        this.pointsType = pointsType;
    }

    public String getPointsProject() {
        return pointsProject;
    }

    public void setPointsProject(String pointsProject) {
        this.pointsProject = pointsProject;
    }

    public String getPointsStandard() {
        return pointsStandard;
    }

    public void setPointsStandard(String pointsStandard) {
        this.pointsStandard = pointsStandard;
    }

    public String getRuleCategory() {
        return ruleCategory;
    }

    public void setRuleCategory(String ruleCategory) {
        this.ruleCategory = ruleCategory;
    }

    public List<String> getFileUrlList() {
        return fileUrlList;
    }

    public void setFileUrlList(List<String> fileUrlList) {
        this.fileUrlList = fileUrlList;
    }

    public String getQueryYear() {
        return queryYear;
    }

    public void setQueryYear(String queryYear) {
        this.queryYear = queryYear;
    }

    public String getQueryMonth() {
        return queryMonth;
    }

    public void setQueryMonth(String queryMonth) {
        this.queryMonth = queryMonth;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointsRuleId", getPointsRuleId())
            .append("pointsRuleArtificialId", getPointsRuleArtificialId())
            .append("pointsRuleSystemId", getPointsRuleSystemId())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("modified", getModified())
            .append("executeScore", getExecuteScore())
            .append("fileUrl", getFileUrl())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
